{% extends "admin/base_site.html" %}
{% load i18n static %}

{% block content %}
<div id="content-main">
    <h1>{% trans "重命名文件" %}</h1>
    
    <form method="post">
        {% csrf_token %}
        <div class="form-row">
            <label for="old_path">{% trans "原文件路径:" %}</label>
            <input type="text" name="old_path" class="vTextField">
        </div>
        <div class="form-row">
            <label for="new_name">{% trans "新文件名:" %}</label>
            <input type="text" name="new_name" class="vTextField">
        </div>
        <div class="submit-row">
            <input type="submit" value="{% trans '重命名' %}" class="default">
        </div>
    </form>
</div>
{% endblock %}
